package ManyFood;

public class FactoryRice implements IFoodFactory{
    @Override
    public Food foodFactoryMethod() {
        return new EntityRice();
    }
    public Food foodFactoryMethod(String foodName){
        return new EntityRice(foodName);
    }
}
